home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1991 / Jan 91 / MacApp.Tech$ 1⁄18⁄91 / 2670-Re CPlusMacApp.h FIS-Jan91 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.9 KB  |  43 lines  |  [TEXT/GEOL]

  1. Item    2176932                         14-Jan-91        16:29PST
  2.  
  3. From:   LENOIL                          Lenoil, Robert
  4.  
  5. To:     D3151                           Omega Optical, David Kreindler,PRT
  6.  
  7. cc:     MACAPP.TECH$                    MacApp Technical
  8.  
  9. Item forwarded by       SPA.DTS      to SPA0144 
  10.  
  11. ------------------------------------------------------------------------------
  12.  
  13. Sub:    Re: CPlusMacApp.h FISaveRegs S
  14.  
  15. David, MacAppers:
  16.  
  17. I'm sorry for the delay in answering your link about CPlusMacApp; I just got
  18. back from vacation today.  You correctly stated that the inline assembly
  19. language function FISaveRegs declared in CPlusMacApp.h should really be
  20. declared as a protected member of the TSavedContext class.  Unfortunately, the
  21. MPW C compiler does not allow inline assembly language functions to be declared
  22. that way; they can only be declared at file scope.  The previous version of
  23. CPlusMacApp had a comment describing this; I removed it because I thought that
  24. it was a detail few people would be concerned about.  I should have known
  25. better.  As for the InstallResult enum, it was placed at file scope so that you
  26. could write "if (handler.Install() == kProceed)", instead of the more verbose
  27. and not as meaningful "if (handler.Install() == TSavedContext::kProceed)".
  28.  
  29. Robert Lenoil
  30. AppleLink: lenoil
  31. America Online: lenoil
  32. Internet/Usenet: lenoil@apple.com
  33.  
  34. P.S.  I have received two mail messages from people that had difficulty
  35. downloading CPlusMacApp; one of those people said that he was using AppleLink
  36. 6.0.  I posted CPlusMacApp with AppleLink 5.0, as I wasn't sure if the
  37. AppleLink/America Online gateway knew how to handle AppleLink 6.0 yet.  If you
  38. have had trouble downloading CPlusMacApp, try again using AppleLink 5.0.  If
  39. that doesn't work, send me email.  If I get enough responses I will repost the
  40. package to MacApp.Tech$.  I also will try to get the package put on the Apple
  41. Internet FTP site, for Internet users.
  42.  
  43.